package com.amigo.online.consumer.user.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.amigo.online.common.core.response.Response;
import com.amigo.online.common.param.dto.user.UserHobbyDto;

@FeignClient(name = "amigo-online-provider-user")
public interface HobbyService {

	
	@RequestMapping(value = "/hobby/updateHobby", method = RequestMethod.POST)
	ResponseEntity<Response> updateUserHobby(UserHobbyDto dto);

	
	@RequestMapping(value = "/hobby/{type}", method = RequestMethod.GET)
	ResponseEntity<Response> getHobby(@PathVariable("type") Integer type);

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
}
